<?php

// REQUIRE BOOTSTRAP
require_once('includes/bootstrap.php');

// SCAN FOR REGISTERED MODULES
$modules = ts_get_directories(MODULES_PATH);
foreach($modules as $module){
    if(file_exists(MODULES_PATH . '/' . $module . '/data.php')){
        require_once(MODULES_PATH . '/' . $module . '/data.php');
    }
}
unset($module , $modules);






/*
// HANDLE REQUESTED MODULE

$module = $omnia->get_query_var('module' , 'get');
if($omnia->is_module($module)){
    $module = 'modules/' . $module . '/index.php';
}else{
    unset($module);
}


*/

?>